load("@io_bazel_rules_go//go:def.bzl", "go_test")

go_test(
    name = "addindextest2_test",
    timeout = "long",
    srcs = [
        "global_sort_test.go",
        "main_test.go",
    ],
    flaky = True,
    deps = [
        "//br/pkg/storage",
        "//pkg/config",
        "//pkg/kv",
        "//pkg/lightning/backend/external",
        "//pkg/meta/model",
        "//pkg/sessionctx/variable",
        "//pkg/store/helper",
        "//pkg/tablecodec",
        "//pkg/testkit",
        "//pkg/testkit/testfailpoint",
        "//pkg/types",
        "//tests/realtikvtest",
        "@com_github_fsouza_fake_gcs_server//fakestorage",
        "@com_github_phayes_freeport//:freeport",
        "@com_github_pingcap_failpoint//:failpoint",
        "@com_github_stretchr_testify//require",
    ],
)
